<script type="text/javascript" src='{$base_dir}modules/dept_rad/js/AJAX_RadResult.js'></script>
<script type="text/javascript">
    {literal}
    $(document).ready(function () {
        $('#radTicketListLbx').change(function() {
            loadRadResultView(true);
        });
    	loadRadResultView(false);
    });
    {/literal}
</script>

{if !empty($radTicketList)}

<!-- Radiology ticket list -->
<div style="margin-top: 10px;">
	<table style="width: 100%;" cellpadding="0" cellspacing="0">
	    <tr class="last">
			<td valign="top" style="width: 180px;">
			    <select style="width: 100%;" id="radTicketListLbx" name="radTicketListLbx">
			       {html_options options=$radTicketList}
			    </select>
			    <div id="itemListDiv" style="margin-top: 5px;">
	            
	            </div>
			</td>
			<td align="center">
	            <div id="metaDiv" style="margin-left: 10px;">
	            
	            </div>
			</td>
	    </tr>
	</table>
</div>

<!-- Image and conclusion div  -->        
<div id="conlusionDiv" style="margin-top: 10px;">

</div>

{else}
<div class='no_result' style='margin-top: 10px;'>
    <span class="label">{translate}The patient has no radiology assignment{/translate}</span>
</div>    
{/if}